package Demo2;
class Base {
    public int a=1;
    public int b=2;
    public void testA(char a){
        System.out.println("print testA(a)....");
    }
}
    class Derived extends Base{
        public int c=3;

        public void test1(){
            System.out.println(a);
            System.out.println(b);
            System.out.println(c);
        }
        public void testA(){
            System.out.println("print testA zilei");
        }
        public void test(){
            testA();
            testA('a');
        }
    }

public class Test {
    public static void main(String[] args) {
        Derived derived=new Derived();
        derived.test();
    }
}
